package com.silverbox.shopper.entity;

import java.io.Serializable;
import java.util.Date;

/**
box_order
 */
public class Order implements Serializable{
	
    /**
	 * 
	 */
	private static final long serialVersionUID = 3652674943586635273L;

	/**
     */
    private Long id;

    /**
     * 订单时间
     */
    private Date orderDate;

    /**
     * 订单编号
     */
    private String orderNum;

    /**
     * 商家实收
     */
    private Double totalPrices;

    /**
     * 会员编号
     */
    private String customId;

    /**
     * 机器id
     */
    private Long machineId;

    /**
     * 店铺id
     */
    private Integer shopperId;

    /**
     * 支付方式
     */
    private Integer payModel;

    /**
     * 支付状态 0,未付款 1,已付款,  2已撤单  3 挂单 4 已退款 5 已付款（当切换到B账户时，状态为5的不会查询出来）
     */
    private Boolean payStatus;

    /**
     * 是否打印小票
     */
    private Boolean isPrint;

    /**
     * 是否打包
     */
    private Boolean isOut;

    /**
     */
    private Integer orderSeq;

    /**
     * 找零
     */
    private Double backPay;

    /**
     * 用户实付
     */
    private Double totalPay;

    /**
     */
    private String partnerId;

    /**
     * 交易流水号
     */
    private String tradeNum;

    /**
     */
    private String customAli;

    /**
     */
    private Double backNopay;

    /**
     * 更新序号
     */
    private String updateDesc;

    /**
     * 是否出错
     */
    private Integer isException;

    /**
     * 订单来源：  1云pos 2会员APP 3简易付 4支付宝口碑 5扫码下单  11淘点点外卖 6 自助售货机  17商家app
     */
    private Long outerSupportId;

    /**
     * 桌台号
     */
    private String tableNum;

    /**
     * 订单原价
     */
    private Double originalPrice;

    /**
     * 优惠类型
     */
    private Integer promotionType;

    /**
     * 支付时间
     */
    private Date payTime;

    /**
     * 是否抹零
     */
    private Integer isRid;

    /**
     * 免除金额
     */
    private Double ridPrice;

    /**
     * 会员用户名
     */
    private String customName;

    /**
     * 不可折扣金额
     */
    private Double discountAmount;

    /**
     * 是否折扣
     */
    private Integer isDiscount;

    /**
     * 订单优惠金额
     */
    private Double promotionPrice;

    /**
     * 验证码
     */
    private Integer identifyingCode;

    /**
     * 商家在第三方平台优惠(商家优惠)
     */
    private Double thirdPromotionFee;

    /**
     * 电子支付平台优惠
     */
    private Double payplatformPromotionFee;

    /**
     */
    private Integer peopleNumber;

    /**
     * 店铺ID
     */
    private Integer storeId;

    /**
     * 服务商id
     */
    private Integer serviceId;

    /**
     * 导购员
     */
    private String guidJobNum;

    /**
     * 员工账号
     */
    private String jobNum;

    /**
     * 员工名称
     */
    private String employeeName;

    /**
     * 混合支付1，非混合支付0
     */
    private Integer mixState;

    /**
     * 扩展
     */
    private Long extendCol;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum == null ? null : orderNum.trim();
    }

    public Double getTotalPrices() {
        return totalPrices;
    }

    public void setTotalPrices(Double totalPrices) {
        this.totalPrices = totalPrices;
    }

    public String getCustomId() {
        return customId;
    }

    public void setCustomId(String customId) {
        this.customId = customId == null ? null : customId.trim();
    }

    public Long getMachineId() {
        return machineId;
    }

    public void setMachineId(Long machineId) {
        this.machineId = machineId;
    }

    public Integer getShopperId() {
        return shopperId;
    }

    public void setShopperId(Integer shopperId) {
        this.shopperId = shopperId;
    }

    public Integer getPayModel() {
        return payModel;
    }

    public void setPayModel(Integer payModel) {
        this.payModel = payModel;
    }

    public Boolean getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Boolean payStatus) {
        this.payStatus = payStatus;
    }

    public Boolean getIsPrint() {
        return isPrint;
    }

    public void setIsPrint(Boolean isPrint) {
        this.isPrint = isPrint;
    }

    public Boolean getIsOut() {
        return isOut;
    }

    public void setIsOut(Boolean isOut) {
        this.isOut = isOut;
    }

    public Integer getOrderSeq() {
        return orderSeq;
    }

    public void setOrderSeq(Integer orderSeq) {
        this.orderSeq = orderSeq;
    }

    public Double getBackPay() {
        return backPay;
    }

    public void setBackPay(Double backPay) {
        this.backPay = backPay;
    }

    public Double getTotalPay() {
        return totalPay;
    }

    public void setTotalPay(Double totalPay) {
        this.totalPay = totalPay;
    }

    public String getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(String partnerId) {
        this.partnerId = partnerId == null ? null : partnerId.trim();
    }

    public String getTradeNum() {
        return tradeNum;
    }

    public void setTradeNum(String tradeNum) {
        this.tradeNum = tradeNum == null ? null : tradeNum.trim();
    }

    public String getCustomAli() {
        return customAli;
    }

    public void setCustomAli(String customAli) {
        this.customAli = customAli == null ? null : customAli.trim();
    }

    public Double getBackNopay() {
        return backNopay;
    }

    public void setBackNopay(Double backNopay) {
        this.backNopay = backNopay;
    }

    public String getUpdateDesc() {
        return updateDesc;
    }

    public void setUpdateDesc(String updateDesc) {
        this.updateDesc = updateDesc == null ? null : updateDesc.trim();
    }

    public Integer getIsException() {
        return isException;
    }

    public void setIsException(Integer isException) {
        this.isException = isException;
    }

    public Long getOuterSupportId() {
        return outerSupportId;
    }

    public void setOuterSupportId(Long outerSupportId) {
        this.outerSupportId = outerSupportId;
    }

    public String getTableNum() {
        return tableNum;
    }

    public void setTableNum(String tableNum) {
        this.tableNum = tableNum == null ? null : tableNum.trim();
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public Integer getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(Integer promotionType) {
        this.promotionType = promotionType;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getIsRid() {
        return isRid;
    }

    public void setIsRid(Integer isRid) {
        this.isRid = isRid;
    }

    public Double getRidPrice() {
        return ridPrice;
    }

    public void setRidPrice(Double ridPrice) {
        this.ridPrice = ridPrice;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName == null ? null : customName.trim();
    }

    public Double getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(Double discountAmount) {
        this.discountAmount = discountAmount;
    }

    public Integer getIsDiscount() {
        return isDiscount;
    }

    public void setIsDiscount(Integer isDiscount) {
        this.isDiscount = isDiscount;
    }

    public Double getPromotionPrice() {
        return promotionPrice;
    }

    public void setPromotionPrice(Double promotionPrice) {
        this.promotionPrice = promotionPrice;
    }

    public Integer getIdentifyingCode() {
        return identifyingCode;
    }

    public void setIdentifyingCode(Integer identifyingCode) {
        this.identifyingCode = identifyingCode;
    }

    public Double getThirdPromotionFee() {
        return thirdPromotionFee;
    }

    public void setThirdPromotionFee(Double thirdPromotionFee) {
        this.thirdPromotionFee = thirdPromotionFee;
    }

    public Double getPayplatformPromotionFee() {
        return payplatformPromotionFee;
    }

    public void setPayplatformPromotionFee(Double payplatformPromotionFee) {
        this.payplatformPromotionFee = payplatformPromotionFee;
    }

    public Integer getPeopleNumber() {
        return peopleNumber;
    }

    public void setPeopleNumber(Integer peopleNumber) {
        this.peopleNumber = peopleNumber;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public String getGuidJobNum() {
        return guidJobNum;
    }

    public void setGuidJobNum(String guidJobNum) {
        this.guidJobNum = guidJobNum == null ? null : guidJobNum.trim();
    }

    public String getJobNum() {
        return jobNum;
    }

    public void setJobNum(String jobNum) {
        this.jobNum = jobNum == null ? null : jobNum.trim();
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName == null ? null : employeeName.trim();
    }

    public Integer getMixState() {
        return mixState;
    }

    public void setMixState(Integer mixState) {
        this.mixState = mixState;
    }

    public Long getExtendCol() {
        return extendCol;
    }

    public void setExtendCol(Long extendCol) {
        this.extendCol = extendCol;
    }
}